/**
 * 
 */
package com.aihwcm.service;

import java.util.List;

import com.aihwcm.entity.Aihtasks;
import com.aihwcm.entity.Aihusers;

/**
 * @author francisli
 *
 */
public interface TaskManageService {

	public int count(Aihusers user);

	public List<Aihtasks> listpage(int offset, int limit, Aihusers user);

	public Aihtasks findById(Integer id);

	public void saveOrUpdate(Aihtasks task);
	public int count(Aihusers user, String search);

	public List<Aihtasks> listpage(int offset, int limit, Aihusers user, String search);
}
